import { defineStore } from "pinia";

const useCounterStore = defineStore("countStore", {
	state: () => {
		return {
			count: 1
		};
	},
	actions: {
		increment() {
			this.count++;
		},
		subtraction() {
			this.count--;
		}
	}
});

export { useCounterStore };
